This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class WindowsShortCut | ||||
class, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
A class to create shortcuts on Windows. | ||||
Example:
#if targetwin32 dim w as WindowsShortCut w=new WindowsShortCut w.Arguments="" w.Command=3 w.Icon=windowsSystemFolder.child("shell32.dll") w.iconID=41 w.Location=desktopfolder.child("A new link to explorer.lnk") w.Target=windowsfolder.child("explorer.exe") w.Working=volume(0) if w.CreateShortCut then if w.AddShortCutIcon then msgBox "Shortcut created." else msgBox "Failed to add icon." end if else msgBox "Failed to create shortcut." end if #endif | ||||
AddShortCutIcon as boolean | ||||
method, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> false. | Mac OS Carbon: -> false. | Windows: Works. | ||
Function:
Adds an icon to the shortcut on the specified location. | ||||
Arguments as string | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> "". | Mac OS Carbon: -> "". | Windows: Works. | ||
Function:
Arguments to the application which is linked to the shortcut. | ||||
Command as integer | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
The code for the showing of the application. | ||||
Notes:
Use e.g. 3 for full screen. | ||||
CreateShortCut as boolean | ||||
method, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> false. | Mac OS Carbon: -> false. | Windows: Works. | ||
Function:
Creates a shortcut on the specified location. | ||||
Icon as folderitem | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
The location of the icon file. | ||||
IconID as integer | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The ID of the icon inside the icon file. | ||||
Location as Folderitem | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
The location where the shortcut is created or modified. | ||||
target as folderitem | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
The target where the shortcut will point to. | ||||
Working as folderitem | ||||
property, Windows Shortcuts | Do, 29. Aug 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
The working directory of this shortcut. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.